<?php
class Partners_model extends CI_Model{

	function get_partners(){
		$this->db->from('partners');
		$query = $this->db->get();
		return $query->result();
	}

}

?>